package com.xigege.springcloud.service.impl;

import com.xigege.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixServiceImpl implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "------------PaymentHystrixService paymentInfo_OK fall back";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return"------------PaymentHystrixService paymentInfo_timeout fall back";
    }
}
